package routers

import (
	phexamcontroller "system_go/controllers/phexamController"

	"github.com/gin-gonic/gin"
)

func phExamRouter(r *gin.RouterGroup) {
	r.GET("/phexam", phexamcontroller.GetAllPhExam)
	r.POST("/phexam", phexamcontroller.AddPhExam)
	r.PUT("/phexam", phexamcontroller.UpdatePhExam)
	r.DELETE("/phexam/:id", phexamcontroller.DelPhExam)
}
